﻿@{
    Layout = null;
}
<form id="viewForm" method="post">
    <div class="easyui-accordion" data-options="multiple:true" style="width:870px;height1:300px;">
		<div title="客户信息" data-options="iconCls:'icon-ok'" style="padding:10px;">
			<table class="grid" width="100%" cellpadding="0" cellspacing="0">
                <tr>
		            <td>企业名称</td>
		            <td>
		                <input type="text" id="TheName" name="TheName" class="easyui-textbox" data-options="readonly:true">                        
                        
		            </td>
                    <td>法人姓名</td>
		            <td>
			            <input type="text" id="LegalPerson" class="easyui-textbox" name="LegalPerson" data-options="readonly:true">
		            </td>
                    <td>法人联系电话</td>
		            <td>
			            <input type="text" id="LPPhone" class="easyui-textbox" name="LPPhone" data-options="readonly:true">
		            </td>
                </tr>
                <tr>
                    <td>注册资金</td>
		            <td>
			            <input type="text" id="RegisteredCapital" class="easyui-numberbox" data-options="min:0,precision:2,groupSeparator:',',prefix:'￥',readonly:true" name="RegisteredCapital">
		            </td>
                    <td>企业利润</td>
		            <td>
			            <input type="text" id="Profit" class="easyui-numberbox" data-options="min:0,precision:2,groupSeparator:',',prefix:'￥',readonly:true" name="Profit">
		            </td>
                    <td>年收入额</td>
		            <td>
			            <input type="text" id="AnnualIncome" class="easyui-numberbox" data-options="min:0,precision:2,groupSeparator:',',prefix:'￥',readonly:true" name="AnnualIncome">
		            </td>
                </tr>
                <tr>
                    <td>成立日期</td>
                    <td>
                        <input id="FoundDate" name="FoundDate" type="text" class="easyui-textbox" data-options="readonly:true"></input>
                    </td>
                    <td>联系电话</td>
		            <td>
			            <input type="text" id="Phone" class="easyui-textbox" name="Phone" data-options="readonly:true">
		            </td>
		            <td>联系人</td>
		            <td>
		                <input type="text" id="Contact" name="Contact" class="easyui-textbox" data-options="readonly:true">
	                </td>
                </tr>
                <tr>
		            <td>地址</td>
		            <td colspan="5"><input id="Addr" name="Addr" class="easyui-textbox" style="width:300px" data-options="readonly:true"></td>
	            </tr>
            </table>
		</div>
		<div title="业务信息" style="padding:10px;">
			<table class="grid" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td>编号</td>
                    <td>
		                <input type="text" id="BusinessCode" name="BusinessCode" class="easyui-textbox" data-options="readonly:true">
		            </td>
		            <td>项目名称</td>
		            <td colspan="3">
                        <input type="text" id="TypeName" name="TypeName" class="easyui-textbox" data-options="readonly:true">
		            </td>
                <tr>
                    <td>合同开始日期</td>
                    <td>
                        <input id="BeginDate" name="BeginDate" type="text" class="easyui-textbox" data-options="readonly:true"></input>
                    </td>
                    <td>合同终止日期</td>
                    <td>
                        <input id="EndDate" name="EndDate" type="text" class="easyui-textbox" data-options="readonly:true"></input>
                    </td>
                    <td>是否新签</td>
                    <td>
                        <select id="Contract" class="easyui-combobox" name="Contract" disabled="disabled">
                            <option value="0">----</option> 
                            <option value="1">新签</option>
                            <option value="2">续签</option>
                        </select>
                    </td>
                </tr>
	            <tr>
		            <td>收费金额</td>
		            <td>
		                <input type="text" id="Charges" name="Charges"  class="easyui-numberbox" data-options="readonly:true,min:0,precision:2,groupSeparator:',',prefix:'￥'">
		            </td>
	                <td>客户介绍人</td>
		            <td>
		                <input type="text" name="Introducer" id="Introducer" class="easyui-textbox" data-options="readonly:true">
		            </td>
		            <td>经办人</td>
		            <td>
		                <input type="text" name="Agent" id="Agent" class="easyui-textbox" data-options="readonly:true">
		            </td>
	            </tr>
                <tr>
	                <td>所属部（室）</td>
		            <td>
		                <input id="TheOffice" name="TheOffice" class="easyui-combobox" data-options="    
				            valueField: 'ID',    
				            textField: 'Name',
				            url: '@Url.Content("~/Main/GetOffice")',
                            readonly: true" />   
		            </td>
		            <td>所属分局</td>
		            <td>
		                <input id="TheDepartment" name="TheDepartment" class="easyui-combobox" data-options="    
				            valueField: 'ID',    
				            textField: 'Name',
				            url: '@Url.Content("~/Main/GetDepartments")',
                            readonly: true" />   
		            </td>
		            <td></td>
		            <td></td>
	            </tr>
	            <tr>
	              <td>备注</td>
	              <td colspan="5"><input type="text" name="Items" id="Items" class="easyui-textbox" data-options="multiline:true,readonly:true" style="height:80px;width:500px"></td>
	            </tr>
            </table>
		</div>
		<div title="审核" style="padding:10px;">
			<table class="grid" width="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td>开票日期</td>
                    <td>
                        <input id="BillDate" name="BillDate" type="text" class="easyui-textbox"  data-options="readonly:true"></input>
                    </td>
                    <td>开票金额</td>
                    <td>
                        <input id="BillMoney" name="BillMoney" type="text" class="easyui-textbox"  data-options="readonly:true,min:0,precision:2,groupSeparator:',',prefix:'￥'"></input>
                    </td>
                    <td>开票单位</td>
                    <td>
                        <input type="text" id="BillUnitName" name="BillUnitName" class="easyui-textbox"  data-options="readonly:true">
                    </td>
                    <td></td>
                    <td></td>
                    <td></td>
                    <td></td>
                </tr>
                <tr>
                    <td>交款日期</td>
                    <td>
                        <input id="ChargingDate" name="ChargingDate" type="text" class="easyui-textbox"  data-options="readonly:true"></input>
                    </td>
                    <td>交款金额</td>
                    <td>
                        <input id="ChargingMoney" name="ChargingMoney" type="text" class="easyui-textbox"  data-options="readonly:true,min:0,precision:2,groupSeparator:',',prefix:'￥'"></input>
                    </td>
                    <td>交款方式</td>
                    <td>
                        <input type="text" id="PayMethod" name="PayMethod" class="easyui-textbox"  data-options="readonly:true">
                    </td>
                    <td>欠费</td>
                    <td>
                        <input type="text" id="OwingMoney" name="OwingMoney" class="easyui-textbox" data-options="min:0,precision:2,groupSeparator:',',prefix:'￥',readonly:true">
                    </td>
                    <td>免除欠款</td>
                    <td>
                        <input type=checkbox id="Paidup" name="Paidup" value="true" onclick="return false;"/>
                    </td>
                </tr>
            </table>
		</div>
@*		<div title="交款记录" href=@Url.Content("~/main/CharingList?id="+ViewData["BusinessID"])  style="padding:10px;">
		</div>*@
	</div>
</form>
